package com.example.choupaiapp.main.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ASUS on 2019/12/4.
 */

public class CommonQuestion implements Serializable {

    /**
     * msg : success
     * code : 0
     * list : [{"id":1,"question":"怎么赚钱","answer":"https://zhidao.baidu.com/question/1803053678580625027.html"},{"id":2,"question":"别人是怎么找到女朋友的?","answer":"https://zhidao.baidu.com/question/532696381.html"}]
     */

    private String msg;
    private int code;
    private List<ListBean> list;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements Serializable{
        /**
         * id : 1
         * question : 怎么赚钱
         * answer : https://zhidao.baidu.com/question/1803053678580625027.html
         */

        private int id;
        private String question;
        private String answer;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getQuestion() {
            return question;
        }

        public void setQuestion(String question) {
            this.question = question;
        }

        public String getAnswer() {
            return answer;
        }

        public void setAnswer(String answer) {
            this.answer = answer;
        }
    }
}
